package offer

// 会员优惠券计算优惠金额
func (s *OfferComServiceImp) getItemRawAmount(ptrs []*ToTrialItem) (off int32) {
	for _, ptr := range ptrs {
		off += ptr.ItemPrice * ptr.DetailCnt
	}
	return
}
